﻿<Application x:Class="PROI._3D.app"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Startup="AppStartingUp"
    >
    <Application.Resources>
        
        <SolidColorBrush x:Key="blueBrush" Color="Blue" Opacity="1.0" />
        <SolidColorBrush x:Key="orangeBrush" Color="Orange" Opacity="1.0" />
        <SolidColorBrush x:Key="yellowBrush" Color="Yellow" Opacity="1.0" />
        <SolidColorBrush x:Key="redBrush" Color="Red" Opacity="1.0" />
        <SolidColorBrush x:Key="purpleBrush" Color="Purple" Opacity="1.0" />
        <SolidColorBrush x:Key="cyanBrush" Color="Cyan" Opacity="1.0" />

        <DrawingBrush x:Key="patternBrush" Viewport="0,0,0.1,0.1" TileMode="Tile">
          <DrawingBrush.Drawing>
            <DrawingGroup>
              <DrawingGroup.Children>
                <GeometryDrawing Geometry="M0,0.1 L0.1,0 1,0.9, 0.9,1z"
                  Brush="Gray" />
                <GeometryDrawing Geometry="M0.9,0 L1,0.1 0.1,1 0,0.9z"
                  Brush="Gray" />
                <GeometryDrawing Geometry="M0.25,0.25 L0.5,0.125 0.75,0.25 0.5,0.5z"
                  Brush="#FFFF00" />
                <GeometryDrawing Geometry="M0.25,0.75 L0.5,0.875 0.75,0.75 0.5,0.5z"
                  Brush="Black" />
                <GeometryDrawing Geometry="M0.25,0.75 L0.125,0.5 0.25,0.25 0.5,0.5z"
                  Brush="#FF0000" />
                <GeometryDrawing Geometry="M0.75,0.25 L0.875,0.5 0.75,0.75 0.5,0.5z"
                  Brush="MediumBlue" />
              </DrawingGroup.Children>
            </DrawingGroup>
          </DrawingBrush.Drawing>
        </DrawingBrush>

        <LinearGradientBrush x:Key="gradientBrush" SpreadMethod="Repeat">
                                           <LinearGradientBrush.GradientStops>
                                                <GradientStop Color="Green" Offset="0" />
                                                <GradientStop Color="Blue" Offset="1" />
                                            </LinearGradientBrush.GradientStops>
                                        </LinearGradientBrush>

    </Application.Resources>
</Application>
